Replication code and data
Authors: Taylor C. Boas, F. Daniel Hidalgo, and Guillermo Toral. 
Paper: "Competence versus Priorities: Negative Electoral Responses to Education Quality in Brazil"
Contact email: gtoral@mit.edu.
Date: June 19, 2020

These files replicate the analyses corresponding to the survey experiment. The file "online_survey_dataset.R" cleans the (anonymized) original data file from Qualtrics, creating the main data file "online_survey_dataset_cleaned.csv". A codebook for that file is in "online_survey_cleaned_codebook.pdf". The file "online_survey_analyses.R" performs the analyses. The file "online_survey_questionnaire.pdf" contains the questionnaire as downloaded from Qualtrics. The main dataset is "online_survey_cleaned.csv", contained in the data subfolder. 	